Skip to main content

1-Wire interface of the iRidi server UMC C3 controller

Power and digital data over a shared wire

Documentation updated 20.10.2021

Advantages​

1-Wire (MicroLan) is a digital interface that transmits information from several devices over twisted-pair cable across distances up to 300 m. 1-Wire is well suited to home automation. Inexpensive digital temperature sensors, multichannel I/O modules, etc. are available.

Important

The iRidi server UMC C3 controller supports only devices with DS18••• series chips (Dallas Semiconductor).

The 1-Wire interface is optional. Make sure your UMC C3 has it.

Connecting 1-Wire devices to UMC C3​

Connect 1-Wire devices to terminal block X6 (at the top of the enclosure).

Terminal block X6 pinout (front view)

Contact654321
Circuit--GNDDATA5 V-

Working in iRidi Studio​

Create a server project.

There are two ways to configure the 1-Wire driver in an iRidi Studio project:

  • import tags from the server web interface,
  • configure the driver manually.

Importing tags from a JSON file​

  1. Open 1 Wire (beta) in the server web interface.

Onewire web01.png

Tip

The 1-Wire tab is available only on UMC C3 controllers.

  1. Click Scan to display the identifiers of devices found on the 1-Wire bus.

Onewire web02.png

  1. Export device data as a .json file by clicking Export.

  2. Open the iRidi Studio project. Click the .json file import button (1-Wire JSON File (*.json)).

1-Wire1.png

  1. The configured driver and all tags appear in the project's driver tree. Tags can be renamed.

1-Wire2.png

Configuring the driver manually​

  1. Add the 1-Wire driver.

  2. Set ContainerPath to /sys/bus/w1/devices/.

1-Wire3.png

  1. Add the required tags to the driver. Assign a unique ID to each added tag.

1-Wire2.png

Configuring commands and feedbacks​

SendRecieve.png

Configure Commands and Feedbacks to control equipment. To send a command, drag it onto a graphical item and specify the Value to send. To display a feedback channel value, drag the Feedback onto a graphical item and specify how to display the Value.

For more information about graphical items, see Graphical item types.